xen: Fix maximum_gpfn() hypercall to always return max_gpfn not nr_gpfns.
authorKeir Fraser <keir@xensource.com>
Wed, 25 Apr 2007 21:22:31 +0000 (22:22 +0100)
committerKeir Fraser <keir@xensource.com>
Wed, 25 Apr 2007 21:22:31 +0000 (22:22 +0100)
commit259e50f5931342885c2c47460d8c57f7e732f798
treed8fd77a837b2199d8a72d26ba08258e7a3219f1a
parent6a9e6c9dc38ec197c4c235b41719ddfef00778dd
xen: Fix maximum_gpfn() hypercall to always return max_gpfn not nr_gpfns.
Fix callers to convert this to nr_gpfns (aka p2m_size) if that's what
they actually need.
Signed-off-by: Keir Fraser <keir@xensource.com>
tools/libxc/xc_core_x86.c
tools/libxc/xc_domain_save.c
xen/arch/x86/mm.c
xen/arch/x86/mm/shadow/common.c